package com.yunchang.springboot.mapper.finance;

import com.yunchang.springboot.models.DO.finance.FinanceCaravanShopNameRelation;
import org.apache.ibatis.annotations.Param;

public interface FinanceCaravanShopNameRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FinanceCaravanShopNameRelation record);

    int insertSelective(FinanceCaravanShopNameRelation record);

    FinanceCaravanShopNameRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FinanceCaravanShopNameRelation record);

    int updateByPrimaryKey(FinanceCaravanShopNameRelation record);

    /**
     * 根据马帮定义的店铺名去查找对应的sellerid和area
     * */
    FinanceCaravanShopNameRelation getInfoByCaravanShopNameAndPlatform(@Param("caravanShopName")String caravanShopName,@Param("platform")String platform);
}